package com.jack.design_patterns.creational.builder.chain;

public class MainTest {

    public static void main(String[] args) {
        AbstractBuilder builder = new MeizuBuilder();
        Phone phone = builder.customizeCpu("骁龙888")
                .customizeDisk("512G")
                .customizeMemory("12G")
                .customizeCamera("像素1亿")
                .getPhone();
        System.out.println("phone=" + phone);
    }
}
